getIntParameter

fun getIntParameter(parameterName: String, defaultVal: Int): Int

Get the specified parameter as an integer. If the given parameter does not have a value, or if it is not an integer, return the given defaul value